/**
 * 状态基类
 */
export abstract class BaseState {
    constructor(index:number, name:string) {
        this.index = index;
        this.name = name;
    }

    public index:number;
    public name:string;

    public abstract OnEnter():void;

    public abstract OnExit():void;

    public abstract OnUpdate():void;
}

